package com.fsy.spring.annotation;

import com.fsy.spring.annotation.Bean.BaseResult;
import com.fsy.spring.annotation.Bean.Task;

/**
 * Created by shuangyu.feng on 2017/8/9.
 */
@TaskHandler(taskType = "UserNameChanged")
public class UserNameChangedSender extends AbstractTaskHandler{
	@Override
	public BaseResult execute(Task task) {
		System.out.println(task.getTaskType());
		return new BaseResult();
	}
}
